package com.ersansiwu.springphoenix.service;

import com.ersansiwu.springphoenix.dao.UserDao;
import com.ersansiwu.springphoenix.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserDao userDao;
    @Override
    public User getUserByKey(String key) {
        return userDao.getUserByKey(key);
    }
}
